<?php

use Illuminate\Database\Seeder;

class UsersStueeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
       	$list = array(
       		['name'=>'张三','sex'=>'w','age'=>'22','classname'=>"lamp122"],
       		['name'=>'张三','sex'=>'w','age'=>'22','classname'=>"lamp122"]	
       		);

       	foreach ($list as $stu) {
       		\DB::table("users")->insert($stu);
       	}

    }
}
